/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						       options_dialog.h


	$Header: /game/options_dialog.h $

	$NoKeywords: $

 ************************************************************************/
#ifndef OPTIONS_DIALOG_H_INCLUDED
#define OPTIONS_DIALOG_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

// kill the 255+ character identifier warning.  Templates tend to exceed that easily.
#pragma warning( disable: 4786 )

#include "dialog_options_base.h"

// ---------------------------------------------------------------------
// options dialog.  Currently only show screen mode / resolution.
// ---------------------------------------------------------------------
class t_options_dialog : public t_dialog_options_base
{
public:
  t_options_dialog( t_window* parent );

  int  get_resolution() const;
protected:
  void			adventure_animations_clicked( t_button* );
  void			army_speed_change( t_scrollbar*, int value );
  void			coordinates_clicked( t_button* button );
  void			create_checkboxes();
  void			create_scrollbars();
  void			enemy_speed_change( t_scrollbar*, int value );
  void      move_army_reminder_clicked( t_button* button );
  virtual void	ok_clicked( t_button* );
  void			quick_combat_clicked( t_button* button );
  void			resolution_clicked( t_button* button, int resolution );
  void      show_move_path_clicked( t_button* button );

  int				m_army_speed;
  t_text_window*  m_army_speed_text_window;
  t_text_window*  m_enemy_speed_text_window;
  int				m_enemy_speed;
  bool      m_move_army_reminder;
  bool			m_quick_combat;
  int       m_resolution;
  t_button_group	m_resolution_group;
  bool			m_show_adventure_animations;
  bool      m_show_adventure_coordinates;
  bool      m_show_move_path;
};

inline int t_options_dialog::get_resolution() const
{
	return m_resolution;
}

#endif // OPTIONS_DIALOG_H_INCLUDED
